using Godot;

namespace Arcane.Source.Client.Extensions;

public static class ColorExt
{
    public static float GetGrayScale(this Color color)
    {
        return 0.299f * color.R + 0.587f * color.G + 0.114f * color.B;
    }
}